package com.atguigu.spring5_02.FactoryBean;/*
@author joker
@create 2022-03-18 20:31
untitled
*/

import com.atguigu.spring5.Book;
import org.springframework.beans.factory.FactoryBean;

public class MyBean implements FactoryBean<Book> {

    /**定义返回bean*/
    @Override
    public Book getObject() throws Exception {
        return null;
    }

    @Override
    public Class<?> getObjectType() {
        return null;
    }

    @Override
    public boolean isSingleton() {
        return FactoryBean.super.isSingleton();
    }
}
